package com.heima.comment.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;
import java.util.Date;

@Data
@Document("ap_comment")
public class ApArticleComment implements Serializable {

   // private static final long serialVersionUID = 1L;

    @TableId(value = "_id",type = IdType.ID_WORKER)
    private String id;

    //作者id
    private Integer authorId;

    private String authorName;

    private String content;

    private Date createdTime;

    private Long entryId;

    private Integer likes;

    private Integer reply;

    private String _class;

    private Integer flag;

    private Integer type;


}